package com.spring.component.framework.dao.datasource.druid;

import com.alibaba.druid.support.http.WebStatFilter;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

/**
 *Druid的StatFilter
 *
 * @author liushihua
 * @since 2018年05月12日
 */
// webFilter注解注册过滤器
/*@WebFilter(
    filterName = "druidWebStatFilter",
    urlPatterns = "/*",
    initParams = {@WebInitParam(
        name = "exclusions",
        value = "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*")})//忽略资源*/
public class DruidStatFilter extends WebStatFilter {
}
